package com.example.common.entity;

import jakarta.persistence.*;
import lombok.Data;

import java.math.BigInteger;

@Entity
@Table(name = "tool_alipay_config")
@Data
public class ToolAlipayConfig {
    @Id
    @Column(name = "config_id", nullable = false)
    private BigInteger configId;
    
    @Column(name = "app_id")
    private String appId;
    
    private String charset, format;
    
    @Column(name = "gateway_url")
    private String gatewayUrl;
    
    @Column(name = "notify_url")
    private String notifyUrl;
    
    @Column(name = "private_key", columnDefinition = "TEXT")
    private String privateKey;
    
    @Column(name = "public_key", columnDefinition = "TEXT")
    private String publicKey;
    
    @Column(name = "return_url")
    private String returnUrl;
    
    @Column(name = "sign_type")
    private String signType;
    
    @Column(name = "sys_service_provider_id")
    private String sysServiceProviderId;
    
    public BigInteger getConfigId() {
        return configId;
    }
    
    public void setConfigId(BigInteger configId) {
        this.configId = configId;
    }
    
    public String getAppId() {
        return appId;
    }
    
    public void setAppId(String appId) {
        this.appId = appId;
    }
    
    public String getCharset() {
        return charset;
    }
    
    public void setCharset(String charset) {
        this.charset = charset;
    }
    
    public String getFormat() {
        return format;
    }
    
    public void setFormat(String format) {
        this.format = format;
    }
    
    public String getGatewayUrl() {
        return gatewayUrl;
    }
    
    public void setGatewayUrl(String gatewayUrl) {
        this.gatewayUrl = gatewayUrl;
    }
    
    public String getNotifyUrl() {
        return notifyUrl;
    }
    
    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }
    
    public String getReturnUrl() {
        return returnUrl;
    }
    
    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }
    
    public String getSignType() {
        return signType;
    }
    
    public void setSignType(String signType) {
        this.signType = signType;
    }
    
    public String getSysServiceProviderId() {
        return sysServiceProviderId;
    }
    
    public void setSysServiceProviderId(String sysServiceProviderId) {
        this.sysServiceProviderId = sysServiceProviderId;
    }
    
    public String getPrivateKey() {
        return privateKey;
    }
    
    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
    
    public String getPublicKey() {
        return publicKey;
    }
    
    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }
}
